package com.swordget.entity.bo;

/***
 *   字段元数据
 * @author liang.xu
 * @date 2024.5.30
 */
public class ColMetadata {

    /**
     * 字段名
     */
    private String name;

    /**
     * 原字段名
     */
    private String originalName;

    /**
     * 字段类型
     */
    private String type;

    /**
     * 字段长度
     */
    private int width;

    /**
     * 不为空
     */
    private String notNull;


    /**
     * 字段注释
     */
    private String comment;


    /**
     * 字段比例
     */
    private int point;


    public String getName() {
        return name;
    }

    public ColMetadata setName(String name) {
        this.name = name;
        return this;
    }

    public String getOriginalName() {
        return originalName;
    }

    public ColMetadata setOriginalName(String originalName) {
        this.originalName = originalName;
        return this;
    }

    public String getType() {
        return type;
    }

    public ColMetadata setType(String type) {
        this.type = type;
        return this;
    }

    public int getWidth() {
        return width;
    }

    public ColMetadata setWidth(int width) {
        this.width = width;
        return this;
    }

    public String getNotNull() {
        return notNull;
    }

    public ColMetadata setNotNull(String notNull) {
        this.notNull = notNull;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public ColMetadata setComment(String comment) {
        this.comment = comment;
        return this;
    }

    public int getPoint() {
        return point;
    }

    public ColMetadata setPoint(int point) {
        this.point = point;
        return this;
    }
}